<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./js/jquery.min.js"></script>
	<script src="./js/layer/layer.js"></script>
</head>
<body>

<script>

layer.open({
	type:1,
	content:'自定义内容',
	title:['自定义标题','color:red;'],
	// time:2000,
	btn:['一个按钮','第二个'],
	icon:2,
	maxmin:true,
	skin:'layui-layer-lan',
	area: ['300px','300px'],
	// offset:['200px','100px'],
	offset:'l',
});
</script>
	
</body>
</html>